package com.liuxia8.part8.vectors;

import java.util.Vector;

/**
 * Created by weng.junjie on 2017/2/24.
 */
public class CrashJava {
    public String toString(){
        return "CrashJava address:"+this+"\n";
    }

    public static void main(String[] args) {
        Vector v=new Vector();
        for (int i=0;i<10;i++){
            v.addElement(new CrashJava());
        }
        System.out.println(v);
    }
}
